package com.shsxt.dao;


import java.util.List;
import java.util.Map;

import com.shsxt.model.Address;
import com.shsxt.model.Coupon;
import com.shsxt.model.ServicePersonal;
import com.shsxt.model.YueMan;

public interface YuyueDao {

	public int rdanci(Map<String, Object> param);
	public int ddanci(Map<String, Object> param);
	public int createJDanci(Map<String, Object> param);
	public int createKDanci(Map<String, Object> param);
	public int createSDanci(Map<String, Object> param);
	public int createCDanci(Map<String, Object> param);
	public int createDDanci(Map<String, Object> param);

	//预约月嫂保姆订单
	public int createYDanci(Map<String, Object> param);
	public int createBDanci(Map<String, Object> param);

	public Coupon findCouponByRedeemCode(String redeemCode);

	public YueMan findYueMan(String day);
	//进入预约 ,自动给默认地址
	public Address findAddressByPhone(String phoneNumber);
	//给订单添加优惠券 修改真实价格
	public void setRRedeemCode(Map<String, Object> param);
	public void setSRedeemCode(Map<String, Object> param);
	public void setKRedeemCode(Map<String, Object> param);
	public void setJRedeemCode(Map<String, Object> param);
	public void setDRedeemCode(Map<String, Object> param);
	public void setCRedeemCode(Map<String, Object> param);
	//根据手机号和类型查找可用的优惠券
	public List<Coupon> findCouponByPhoneType(Map<String, Object> param);
	//还原该订单的realPrice 并把优惠券清空
	public void resetRRedeemCode(String orderNumber);
	
	
	
	//周期预约
	public int rcircle(Map<String, Object> param);
	
	public void rzhifu(Map<String, Object> param);
	public void szhifu(Map<String, Object> param);
	public void kzhifu(Map<String, Object> param);
	public void jzhifu(Map<String, Object> param);
	public void dzhifu(Map<String, Object> param);
	public void czhifu(Map<String, Object> param);
	//查找工作中的阿姨
	public List<ServicePersonal> findWorkingAunt();
	public void updateYueMan(Map<String, Object> param);
	
	//给订单绑定优惠券 并调整实际价格
	public void rbindCoupon(Map<String, Object> param);
	public void sbindCoupon(Map<String, Object> param);
	public void kbindCoupon(Map<String, Object> param);
	public void jbindCoupon(Map<String, Object> param);
	public void dbindCoupon(Map<String, Object> param);
	public void cbindCoupon(Map<String, Object> param);
	public String findWXorderByorderId(String orderId);
	public void ryuezhifu(Map<String, Object> param);
	public void syuezhifu(Map<String, Object> param);
	public void kyuezhifu(Map<String, Object> param);
	public void jyuezhifu(Map<String, Object> param);
	public void dyuezhifu(Map<String, Object> param);
	public void cyuezhifu(Map<String, Object> param);




	
	

	

	

	


	
	
	 




	

	

	

	

}
